package org.fmi.lje.modules;

import org.apache.batik.svggen.SVGGraphics2D;
import org.fmi.lje.graphics.LayoutManager;
import org.fmi.lje.graphics.RelationshipsLayoutManager;
import org.fmi.lje.graphics.model.Clazz;
import org.fmi.lje.graphics.model.impl.BcelClazz;
import org.fmi.lje.graphics.model.impl.BcelHierarchyLayoutManager;

import com.google.inject.AbstractModule;

public class BcelModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(Clazz.class).to(BcelClazz.class);
		bind(SVGGraphics2D.class).toProvider(SvgGraphicsProvider.class);
		bind(RelationshipsLayoutManager.class).to(BcelHierarchyLayoutManager.class);
	}

}
